{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "9e05d366",
   "metadata": {},
   "source": [
    "# 课程表"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "fb973c61",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "星期六\n",
      "无\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "\n",
    "if week_time==0:\n",
    "    print(\"星期一\");print(\"10:35-12:00 毛概实践\");print(\"14:30-16:50 python语言\")\n",
    "elif week_time==1:\n",
    "    print(\"星期二\");print(\"8:00-10:25 用户研究\");print(\"14:30-15:55 新时代的新闻媒体评论\");print(\"18:45-20:10 旅游法语\")\n",
    "elif week_time==2:\n",
    "    print(\"星期三\");print(\"8:00-9:30 大学英语\")\n",
    "elif week_time==3:\n",
    "    print(\"星期四\");print(\"14:30-16:50 创业基础实践\")\n",
    "elif week_time==4:\n",
    "    print(\"星期五\");print(\"10:35-12:00 大学英语\");print(\"14:30-15:55 太极拳\")\n",
    "elif week_time==5:\n",
    "    print(\"星期六\");print(\"无\")\n",
    "else:\n",
    "    print(\"星期天\");print(\"无\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e94fd605",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
